Ok to use table for calculator? [closed]
Posted
by
max
on Pro Webmasters
See other posts from Pro Webmasters
or by max
Published on 2012-10-07T22:09:12Z
Indexed on
2012/10/08
3:48 UTC
Read the original article
Hit count: 144
I'm a php/mysql guy, and have been trying to brush up on my frontend skills. So this weekend I made a four function calculator in javascript.
But when I started to work on the presentation, I found myself adding extraneous markup just to achieve what a table tag naturally does.
Just so we're on the same page, this is the intended layout:
789+
456-
123x
c0=/
It it possible to generate this grid using neither a table, nor extraneous markup?
Thank you.
© Pro Webmasters or respective owner